package com.shop2cn.iapi.activitymgt.parameter;
import java.util.Date;
import java.util.List;

import com.ymt.base.BaseBean;
/**
*新增活动信息Bean
*FreeMaker Template自动生成代码
*/
@SuppressWarnings("serial")
public class AddactivityBean extends BaseBean{
 
	/**允许分销代理继承*/
	private boolean allowAgent;
	/**活动id(修改活动时必传)*/
	private Integer activityId;
	/**活动名称*/
	private String name;
	/**开始时间*/
	private Date beginTime;
	/**结束时间*/
	private Date endTime;
	/**活动类型1-限时抢*/
	private int activityType;
	/**折扣*/
	private Integer discountType;
	/**限购类型1，不限购，2，活动内每人每商品限购*/
	private int limitType;
	/**限购数量*/
	private int limitNum;
	/**活动预告：0(default)：立刻展示，-1：不展示，>0 :按配*/
	private int previewTime;
	/**0-所有库存，1-活动库存*/
	private int stockType;
	
	/**当前用户id*/
	private int curUserId;
	/**商家id*/
	private int sellerId;
	
	/**商品列表*/
	private List<ProductAgentBean> productList;

	public Integer getActivityId() {
		return activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getActivityType() {
		return activityType;
	}

	public void setActivityType(int activityType) {
		this.activityType = activityType;
	}

	public Integer getDiscountType() {
		return discountType;
	}

	public void setDiscountType(Integer discountType) {
		this.discountType = discountType;
	}

	public int getLimitType() {
		return limitType;
	}

	public void setLimitType(int limitType) {
		this.limitType = limitType;
	}

	public int getLimitNum() {
		return limitNum;
	}
	

	public boolean isAllowAgent() {
		return allowAgent;
	}

	public void setAllowAgent(boolean allowAgent) {
		this.allowAgent = allowAgent;
	}

	public void setLimitNum(int limitNum) {
		this.limitNum = limitNum;
	}

	public int getPreviewTime() {
		return previewTime;
	}

	public void setPreviewTime(int previewTime) {
		this.previewTime = previewTime;
	}

	public int getStockType() {
		return stockType;
	}

	public void setStockType(int stockType) {
		this.stockType = stockType;
	}

	public int getCurUserId() {
		return curUserId;
	}

	public void setCurUserId(int curUserId) {
		this.curUserId = curUserId;
	}

	public int getSellerId() {
		return sellerId;
	}

	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}

	public List<ProductAgentBean> getProductList() {
		return productList;
	}

	public void setProductList(List<ProductAgentBean> productList) {
		this.productList = productList;
	}
	
	
	
}
